<?php
/**
 * 站点的视频模型
 */
namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class UserVideo extends Model
{
    protected $fillable = [
        'link', 'user_id', 'site_id', 'create_type', 'random_id'
    ];

    public function site()
    {
        return $this->belongsTo(Site::class);
    }

    public function user()
    {
        return $this->belongsTo(User::class);
    }
}
